package com.example.myBlogTest.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;
import java.time.LocalDateTime;

/**
 * Author: Lucy
 * Description: user response dto
 */
@Setter
@Getter
@NoArgsConstructor
public class UserResponse {

    private Long id;

    private String username;

    private String avatar;

    private String email;

    private LocalDateTime lastLogin;
}
